#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main(void)
{
	int k = 1, n = 263;
	do
	{
		k *= n % 10;
		n /= 10;
	} while (n);
	printf("%d\n", k);
}